<?php
$seitcm_employers_module = isset($_GET['module']) ? $_GET['module'] : 'list';
switch ($seitcm_employers_module) {
	case 'list':
		if ( !(current_user_can( 'seitcm_employer_list' ))){
			wp_die( __( 'SEICM: You do not have sufficient permissions to access this page.' ) );
		}
		require_once 'seitcm_employers_listtable_view.php';
		break;
	case 'add':
		if ( !(current_user_can( 'seitcm_employer_update' ))){
			wp_die( __( 'SEICM: You do not have sufficient permissions to access this page.' ) );
		}
		require_once 'seitcm_employers_addnew_view.php';
		break;
}
?>